<% searchdomain.each do |search| %>search <%= search %> 
<% end %><% dns.each do |nameserver| %>nameserver <%= nameserver %> 
<% end %>
